<?php
/**
 * 系统配置文件
 * Created by PhpStorm.
 * User: 65736
 * Date: 2018/12/5 0005
 * Time: 23:16
 */

/**
 * 默认配置
 * @var array $default_config
 */
$default_config = require_once CONF_PATH ."default_config.php";

/**
 * 环境配置
 * @var array $env_config
 */
$env_config = require_once ENV_CONF_PATH."env_config.php";

/**
 * 数据库配置
 * @var array $database_config
 */
$database_config = require_once ENV_CONF_PATH."database.php";

/**
 * 缓存配置
 * @var array $cache_config
 */
$cache_config = require_once  ENV_CONF_PATH."cache.php";

/**
 * 资源配置
 * @var array $source_confing
 */
$source_confing = require_once ENV_CONF_PATH."sourceDomainConfig.php";

/**
 * 返回配置
 * @var array $cache_config
 */
return array_merge( $default_config, $database_config, $cache_config, $env_config, $source_confing);